package com.example.app.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "baidu.api")
public class BaiduApiConfig {
    private String appid;
    private String key;
    private String secret;
    private String dishUrl;
    private String tokenUrl;
    private int timeout;
}